bitkeeper revision 1.1691.1.10 (42a70b27-Oq9klHVoCm0PlmeoehF8g)
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Wed, 8 Jun 2005 15:13:43 +0000 (15:13 +0000)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Wed, 8 Jun 2005 15:13:43 +0000 (15:13 +0000)
Config option is CONFIG_X86_PAE, not CONFIG_PAE.
Signed-off-by: Keir Fraser <keir@xensource.com>
xen/arch/x86/mm.c
xen/include/asm-x86/page.h

index 204c9d74e8a4b19f7b0ab99d8609dcf544bec705..083d967e2512bca264532e20c272a4ae51a08ad2 100644 (file)
@@ -1104,7 +1104,7 @@ static int mod_l3_entry(l3_pgentry_t *pl3e,
         return 0;
     }
 
-#ifdef CONFIG_PAE
+#ifdef CONFIG_X86_PAE
     /*
      * Disallow updates to final L3 slot. It contains Xen mappings, and it
      * would be a pain to ensure they remain continuously valid throughout.
@@ -1400,7 +1400,7 @@ int get_page_type(struct pfn_info *page, u32 type)
                 else if ( ((type & PGT_va_mask) != PGT_va_mutable) &&
                           ((type & PGT_va_mask) != (x & PGT_va_mask)) )
                 {
-#ifdef CONFIG_PAE
+#ifdef CONFIG_X86_PAE
                     /* We use backptr as extra typing. Cannot be unknown. */
                     if ( (type & PGT_type_mask) == PGT_l2_page_table )
                         return 0;
@@ -1671,7 +1671,7 @@ int do_mmuext_op(
             
             break;
 
-#ifndef CONFIG_PAE /* Unsafe on PAE because of Xen-private mappings. */
+#ifndef CONFIG_X86_PAE /* Unsafe on PAE because of Xen-private mappings. */
         case MMUEXT_PIN_L2_TABLE:
             type = PGT_l2_page_table;
             goto pin_page;
index 2f134031c2057747041f59835091c050e3e1f8c9..883acd13dd1816cb040c1c4154cf9c2de5094d68 100644 (file)
@@ -185,7 +185,7 @@ typedef struct { u64 pfn; } pagetable_t;
 #define pfn_valid(_pfn)     ((_pfn) < max_page)
 
 /* High table entries are reserved by the hypervisor. */
-#if defined(CONFIG_X86_32) && !defined(CONFIG_PAE)
+#if defined(CONFIG_X86_32) && !defined(CONFIG_X86_PAE)
 #define DOMAIN_ENTRIES_PER_L2_PAGETABLE     \
   (HYPERVISOR_VIRT_START >> L2_PAGETABLE_SHIFT)
 #define HYPERVISOR_ENTRIES_PER_L2_PAGETABLE \